import org.springframework.util.DigestUtils;

import java.nio.charset.StandardCharsets;

public class testMd5 {

    public static void main(String[] args) {
        System.out.println(DigestUtils.md5DigestAsHex("123456".getBytes(StandardCharsets.UTF_8)));
    }
}
